home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
SWAG
/
SWAGA_C
/
CURSOR.SWG
/
0007_Find The Cursor.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-05-28
|
263b
|
17 lines
Uses
Dos;
Procedure FindXY(Var X, Y : Byte; Page : Byte);
{X = Row of Cursor}
{Y = Colum of Cursor}
{Page = Page Nummber}
Var
Regs : Registers;
begin
Regs.Ah := 3;
Regs.Bh := Page;
intr($10, Regs);
X := Regs.Dl;
Y := Regs.Dh;
end;